package com.up.api.myimport;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

import static com.up.api.myimport.CacheType.LOCAL;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(MyCacheSelector.class)
public @interface Cache {
    CacheType type() default LOCAL;
}

